#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.common.bean.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * Description: GroupVo
 *
 * @author Haoxiuchao
 * @date 2019/8/6 15:28
 *
 * <pre>
 *              ${copyright}
 *      Copyright (c) 2019. All Rights Reserved.
 * </pre>
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GroupVo {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private Long id;
    /**
     * 名称
     */
    @NotNull
    @ApiModelProperty("名称")
    private String name;
    /**
     *编号
     */
    @NotNull
    @ApiModelProperty("编号")
    private String code;
    /**
     *机构简称
     */
    @NotNull
    @ApiModelProperty("机构简称")
    private String shortName;
    /**
     *上级机构id
     */
    @NotNull
    @ApiModelProperty("上级机构id")
    private Long parentId;
    /**
     *类别
     */
    @ApiModelProperty("类别")
    private Integer type;
}
